Skip to content

Conversation

@jonatasemidio
Copy link

Remove redundant explicit super() constructor calls #694

Remove redundant explicit super() constructor

The super() calls (taking no arguments) are inserted during compile time, so just make the code more verbose than required.

Remove redundant explicit super() constructor calls [iluwatar#694](iluwatar#694)
@olcbean
Copy link
Contributor

olcbean commented Jan 12, 2018

I think there are a few more occurrences of super(). @jonatasemidio do you have time to remove them too?

@jonatasemidio
Copy link
Author

jonatasemidio commented Jan 12, 2018

Hi @olcbean is totally fine, but now I need to check if it is necessary because @james-a-roland created another and more complete PR (#697).

@iluwatar, another consideration... I know that grep can find all occurrences, but we might have some samples that super() calls some father's constructors.

Hi @james-a-roland, To solve #694 ... How did you checked all super() occurrences?

@jonatasemidio
Copy link
Author

Sorry @iluwatar and @james-a-roland... You don't need to answer here because I've already add the last comment in the right discussion #694

Copy link
Owner

@iluwatar iluwatar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull request seems incomplete. There are many other occurrences.

@iluwatar iluwatar closed this Jan 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants